<?php
 include "auth.php";
 include "../includes/header.php"; 
 include "detaillist.php";
?>
<div id="detail_page" data-role="page">
			<div data-role="header">
				<a href="#" data-rel="back">back</a> <h1>&nbsp;</h1>
			</div><!-- /header -->
			<div data-role="content">
				
				<div style="margin:15px;">
						<h3>Stationen <?php setHeader(); ?></h3>
						<ul data-role="listview" data-inset="true">
							<?php getAllStations(); ?>
						</ul>
						<form method="post" action="map.php">
				<button id="tourSend" type="submit" name="submit" value="submit" data-theme="c">Tour starten</button>
				</form>

				</div>
			</div>
			<div data-role="footer" class="nav-glyphish-example" data-fullscreen="true" data-position="fixed">
				<div data-role="navbar" class="nav-glyphish-example" data-grid="b">
				<ul>
					<li><a href="#start_page" id="detail_nav_login" data-icon="custom">Login</a></li>
					<li><a href="#select_page" id="detail_nav_select" data-icon="custom">Select</a></li>
					<li><a href="#map_page" id="detail_nav_map" data-icon="custom">Map</a></li>
				</ul>
				</div>
			</div>
		</div>
<?php
	include "../includes/footer.php";
?>
